<%@ taglib prefix="s" uri="/struts-tags" %>

<%@ page language="java" contentType="text/html" import="java.util.*"%>


<html>

<head>

<title>Welcome, you have logined!</title>
</head>

<body>

<h2>User's Details</h2>
<table>
<tr>
    <th>Name</th>
    <th>Email</th>
    <th>PhoneNo.</th>
    <th>EmployedDate</th>
    <th>Job_Title</th>
    <th>Status</th>
</tr>
<tr>

    <td>${result.name}</td>
    <td>${result.email}</td>
    <td>${result.phoneNo}</td>
    <td>${result.employed_date}</td>
    <td>${result.job_title}</td>
    <td>${result.status.status_name}</td>

</tr>
</table>
    <br>
    <h2>Tasks</h2>
    <table>
        <tr>
            <th>Task_Name</th>
            <th>Module_Name</th>
            <th>SubModule_Id</th>
            <th>Action_Id</th>
        </tr>
<s:iterator value="taskSet" var="task">
    <tr>
        <td><s:property value="task_name"/> </td>
        <td>${task.module_id}</td>
        <td>${task.submodule_id}</td>
        <td>${task.action_id}</td>
      
    </tr>
</s:iterator>
</table>

<a href ="javascript:history.back()">Go back</a>
</body>

</html>
